package com.nbsaas.boot.cms.rest.convert;

import com.nbsaas.boot.cms.data.entity.DownFile;
import com.nbsaas.boot.cms.api.domain.simple.DownFileSimple;

import com.nbsaas.boot.rest.api.Converter;

/**
* -列表对象转换器
*/

public class DownFileSimpleConvert implements Converter<DownFileSimple, DownFile> {




@Override
public DownFileSimple convert(DownFile source) {
    DownFileSimple result = new DownFileSimple();

                result.setNote(source.getNote());
                result.setDownUrl(source.getDownUrl());
                result.setName(source.getName());
                result.setLogo(source.getLogo());
                result.setId(source.getId());
                result.setAddDate(source.getAddDate());
                result.setLastDate(source.getLastDate());


    return result;
}

}